package com.visualization.server.mapper;


import com.visualization.server.entities.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface UserMapper {


    Integer  addUser(User user);

    Integer deleteUser(User user);

    Integer updateUser(User user);

    User getUserById(@Param("id") Integer id);
    List<User> getUserList();
}
